package com.xiaojimao.gr_user.Service;

import com.xaiojimao.gr_common.dto.Result;
import com.xaiojimao.gr_common.vo.req.PageReq;
import com.xiaojimao.gr_user.pojo.User;
import com.xiaojimao.gr_user.vo.req.UserPermission;
import com.xiaojimao.gr_user.vo.req.UserStatus;
import com.xiaojimao.gr_user.vo.req.UserUpdate;

/**
* @author 32987
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2023-11-23 18:07:16
*/
public interface UserService {
    Result userLogin(User user);

    Result userRegister(User user);

    Result update(UserUpdate user);

    Result userInfo();

    Result status(UserStatus user);

    Result permission(UserPermission user);

    Result list(PageReq<User> req);

    Result getById(String id);
}
